package cc.wanforme.st.server.vo.base;

import java.util.List;

import cc.wanforme.st.server.base.entity.Role;
import cc.wanforme.st.server.base.entity.Admin;

/** 用户角色
 * @author wanne
 * 2020年10月23日
 */
public class AdminRoleVo {
	
	private AdminVo admin;
	
	private List<Role> roles;

	public AdminRoleVo() {}
	
	public AdminRoleVo(Admin admin, List<Role> roles) {
		this.admin = new AdminVo(admin);
		this.roles = roles;
	}
	
	public AdminVo getAdmin() {
		return admin;
	}
	public void setAdmin(AdminVo admin) {
		this.admin = admin;
	}

	public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}
	
	
}
